<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.ccut.edu.cn/saturn" prefix="saturn"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>templete jsp</title><%@ include
	file="/jsp/include/header/meta.jsp"%><%@ include
	file="/jsp/include/header/javascript.jsp"%><%@ include
	file="/jsp/include/header/stylesheettag.jsp"%></head>
<body>
<saturn:table id="validateInfoList" value="${validateList}" 
			item="var" isPagepilot="false" >
			<saturn:tableColumn title="验证FullKey">
						<saturn:out value="${var.validateInfoFullkey}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="验证名称">
					   <saturn:out value="${var.name}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="操作">
						<a href="javascript:getValidateDetail('${fullKey}','${nodeId}','${paramId}','${var.validateInfoFullkey}')">修改</a>
						<a href="javascript:deleteValidate('${fullKey}','${nodeId}','${paramId}','${var.validateInfoFullkey}')">刪除</a>						
			</saturn:tableColumn>
</saturn:table>
<form name ="addForm" action="<%=request.getContextPath()%>/edu.ccut.saturn.manager.bundles.impl::/componentModule/action/GetAllValidate.action" method="post">
    <input type="hidden" name="nodeId" value="${nodeId}">
     <input type="hidden" name="fullKey" value="${fullKey}">
      <input type="hidden" name="paramId" value="${paramId}">
    <input type="submit" name="addButton" value="添加验证" >
</form>
<script type="text/javascript">
function getValidateDetail(fullKey,nodeId,paramId,validateInfoFullkey) {
        location = "<%=request.getContextPath()%>/edu.ccut.saturn.manager.bundles.impl::/componentModule/action/GetParamValidateDetailAction.action?nodeId="+nodeId+"&fullKey="+fullKey+"&paramId="+paramId+"&validateInfoFullkey="+validateInfoFullkey;
}
</script>
<script type="text/javascript">
function deleteValidate(fullKey,nodeId,paramId,validateInfoFullkey) {    
        location = "<%=request.getContextPath()%>/edu.ccut.saturn.manager.bundles.impl::/componentModule/action/DeleteValidateAction.action?nodeId="+nodeId+"&fullKey="+fullKey+"&paramId="+paramId+"&validateInfoFullkey1="+validateInfoFullkey;
}
</script>


</body>
</html>